#ifndef DBADMIN_H
#define DBADMIN_H

#include <QSqlDatabase>
#include <QSqlQuery>

class DbAdmin
{
	public:
		DbAdmin();
		~DbAdmin();
		bool createConnection( QString file ,bool createDbTables = false );
		void closeConnection();
		QSqlDatabase db;
	private:
		void createTables();
};

#endif
